<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <base target="_self">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache,must-ridate">
    <meta http-equiv="expires" content="0">
    <title></title>
    <link rel="stylesheet" type="text/css" href="/static/plugins/bootstrap/css/bootstrap.min.css" />
</head>

<body>
    <ul id="myTab" class="nav nav-tabs">
        <li class="active">
            <a href="#productInfo" data-toggle="tab">
               产品信息要素
            </a>
        </li>	
    </ul>

    <div id="myTabContent" class="tab-content">
        <div class="tab-pane fade in active" id="productInfo">
            <div style="height:390px;overflow-y:auto">
                <table border="1" bordercolor="#C0C0C0" cellspacing="0" cellpadding="2" style="width: 100%;">
                    <tr>
                        <td style="width: 20%;">
                            信托产品名称:
                        </td>
                        <td style="width: 30%;">
                            <span id="xtxmmc"></span>
                        </td>					
                        <td style="width: 20%;">
                            信托登记系统产品编码:
                        </td>
                        <td style="width: 30%;">
                            <span id="djcpbh"></span>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            信托财产性质标识:
                        </td>
                        <td>
                            <span id="csxtcclx"></span>
                        </td>					
                        <td>
                            单一集合标识:
                        </td>
                        <td>
                            <span id="dyjhbz"></span>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            是否关联交易:
                        </td>
                        <td>
                            <span id="sfgljy"></span>
                        </td>					
                        <td>
                            事前报告事项原因:
                        </td>
                        <td>
                            <span id="sqbgyy"></span>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            信托经理姓名:
                        </td>
                        <td>
                            <span id="xtjlxm"></span>
                        </td>					
                        <td>
                            信托经理电话:
                        </td>
                        <td>
                            <span id="xtjldh"></span>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            分管高级管理人员姓名 :
                        </td>
                        <td colspan="3">
                            <span id="fggjglry"></span>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>

    <script type="text/javascript" src="/static/plugins/jquery-1.10.2.min.js"></script>
    <script type="text/javascript" src="/static/plugins/bootstrap/js/bootstrap.min.js"></script>
    <script type="text/javascript">

        //初始化数据
        let ydjData = new Object();
        $(function () {
            //获取流程参数
            let flowid = GetQueryValue('flowid');
            let itemid = GetQueryValue('itemid');
            let taskid = GetQueryValue('taskid');
            let affa_id = GetQueryValue('affaid');
            if (taskid == null) {
                taskid = "1@@"+affa_id;
            } else {
                taskid = "2@@"+taskid;
            }
            query_app_dfs_zxd_sqcpxx(taskid);
        });

        //查询事前登记-产品信息-详情
        function query_app_dfs_zxd_sqcpxx(taskid) {
            //根据项目ID采集现有信息
            jQuery.ajax({
                url: "/node/query_app_dfs_zxd_sqcpxx/" + taskid,
                async: false,
                cache: false,
                success: function (data) {
                    $("#xtxmmc").html(data.xtxmmc);
                    $("#djcpbh").html(data.djcpbh);
                    $("#csxtcclx").html(data.csxtcclx);
                    $("#dyjhbz").html(data.dyjhbz);
                    $("#sfgljy").html(data.sfgljy);
                    $("#sqbgyy").html(data.sqbgyy);
                    $("#xtjlxm").html(data.xtjlxm);
                    $("#xtjldh").html(data.xtjldh);
                    $("#fggjglry").html(data.fggjglry);
                }
            });
        }

        //获取GET参数
        function GetQueryValue(queryName) {
            var query = decodeURI(window.location.search.substring(1));
            var vars = query.split("&");
            for (var i = 0; i < vars.length; i++) {
                var pair = vars[i].split("=");
                if (pair[0] == queryName) { return pair[1]; }
            }
            return null;
        }
    </script>
</body>

</html>